//
//  LittleData.m
//  22-AliPlanet_HomeWork
//
//  Created by 曹曹 on 16/8/12.
//  Copyright © 2016年 曹曹. All rights reserved.
//

#import "LittleData.h"
#import "LittleAction.h"

@implementation LittleData
- (void)setValue:(id)value forKey:(NSString *)key {
    [super setValue:value forKey:key];
    if ([key isEqualToString:@"id"]) {
        _ID = value;
    }
    if ([key isEqualToString:@"action"]) {
        _action = [LittleAction modelWithDictionary:value];
    }
}
@end
